package com.ywl.designpattern.template;

/**
 * 2.然后，创建具体的子类实现抽象方法
 * @author yuwl
 * @description
 * @since 2024-06-28 09:28
 */
public class Coffee extends Beverage{
    @Override
    protected void brew() {
        System.out.println("Dripping coffee through filter");
    }

    @Override
    protected void addCondiments() {
        System.out.println("Adding sugar and milk");
    }
}
